package com.ccc.service;

import com.ccc.bean.Goods;
import com.ccc.mapper.GoodsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description:
 * author:houzhitao@139.com
 */
@Service
public class GoodsService {
    @Autowired
    GoodsMapper goodsMapper;

    public Integer addGoods(Goods goods){
        Integer integer = goodsMapper.insertGoods(goods);
        return integer;
    }
}
